package com.blacktry.convent;

import com.blacktry.entity.model.*;
import com.blacktry.entity.model.request.QuestionRequest;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface QuestionConvert {
    QuestionConvert INSTANCE = Mappers.getMapper(QuestionConvert.class);

    MultiQuestion Question2Multi(QuestionRequest questionRequest);

    FillQuestion Question2Fill(QuestionRequest questionRequest);

    JudgeQuestion Question2Judge(QuestionRequest questionRequest);

    SubjectiveQuestion Question2Subjective(QuestionRequest questionRequest);

}